<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><link rel="stylesheet" type="text/css" href="style.css" /><script type="text/javascript" src="highlight.js"></script></head><body><pre><span class="hs-keyword">module</span><span> </span><span class="hs-identifier">Data.Time.Calendar.Private</span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-2"></span><span>
</span><span id="line-3"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../../base/src/Data.Fixed.html#"><span class="hs-identifier">Data.Fixed</span></a></span><span>
</span><span id="line-4"></span><span>
</span><span id="line-5"></span><span class="hs-keyword">data</span><span> </span><span id="PadOption"><span class="annot"><a href="Data.Time.Calendar.Private.html#PadOption"><span class="hs-identifier hs-var">PadOption</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span id="Pad"><span class="annot"><a href="Data.Time.Calendar.Private.html#Pad"><span class="hs-identifier hs-var">Pad</span></a></span></span><span> </span><span class="annot"><span class="hs-identifier hs-type">Int</span></span><span> </span><span class="annot"><span class="hs-identifier hs-type">Char</span></span><span> </span><span class="hs-glyph">|</span><span> </span><span id="NoPad"><span class="annot"><a href="Data.Time.Calendar.Private.html#NoPad"><span class="hs-identifier hs-var">NoPad</span></a></span></span><span>
</span><span id="line-6"></span><span>
</span><span id="line-7"></span><span class="annot"><a href="Data.Time.Calendar.Private.html#showPadded"><span class="hs-identifier hs-type">showPadded</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="Data.Time.Calendar.Private.html#PadOption"><span class="hs-identifier hs-type">PadOption</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="../../base/src/GHC.Base.html#String"><span class="hs-identifier hs-type">String</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="../../base/src/GHC.Base.html#String"><span class="hs-identifier hs-type">String</span></a></span><span>
</span><span id="line-8"></span><span id="showPadded"><span class="annot"><span class="annottext">showPadded :: PadOption -&gt; String -&gt; String
</span><a href="Data.Time.Calendar.Private.html#showPadded"><span class="hs-identifier hs-var hs-var">showPadded</span></a></span></span><span> </span><span class="annot"><span class="annottext">PadOption
</span><a href="Data.Time.Calendar.Private.html#NoPad"><span class="hs-identifier hs-var">NoPad</span></a></span><span> </span><span id="local-6989586621679067887"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679067887"><span class="hs-identifier hs-var">s</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679067887"><span class="hs-identifier hs-var">s</span></a></span><span>
</span><span id="line-9"></span><span class="annot"><a href="Data.Time.Calendar.Private.html#showPadded"><span class="hs-identifier hs-var">showPadded</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="Data.Time.Calendar.Private.html#Pad"><span class="hs-identifier hs-type">Pad</span></a></span><span> </span><span id="local-6989586621679067886"><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679067886"><span class="hs-identifier hs-var">i</span></a></span></span><span> </span><span id="local-6989586621679067885"><span class="annot"><span class="annottext">Char
</span><a href="#local-6989586621679067885"><span class="hs-identifier hs-var">c</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679067884"><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679067884"><span class="hs-identifier hs-var">s</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int -&gt; Char -&gt; String
forall a. Int -&gt; a -&gt; [a]
</span><a href="../../base/src/GHC.List.html#replicate"><span class="hs-identifier hs-var">replicate</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679067886"><span class="hs-identifier hs-var">i</span></a></span><span> </span><span class="annot"><span class="annottext">Int -&gt; Int -&gt; Int
forall a. Num a =&gt; a -&gt; a -&gt; a
</span><a href="../../base/src/GHC.Num.html#-"><span class="hs-glyph hs-var">-</span></a></span><span> </span><span class="annot"><span class="annottext">String -&gt; Int
forall (t :: * -&gt; *) a. Foldable t =&gt; t a -&gt; Int
</span><a href="../../base/src/Data.Foldable.html#length"><span class="hs-identifier hs-var">length</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679067884"><span class="hs-identifier hs-var">s</span></a></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Char
</span><a href="#local-6989586621679067885"><span class="hs-identifier hs-var">c</span></a></span><span> </span><span class="annot"><span class="annottext">String -&gt; String -&gt; String
forall a. [a] -&gt; [a] -&gt; [a]
</span><a href="../../base/src/GHC.Base.html#%2B%2B"><span class="hs-operator hs-var">++</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><a href="#local-6989586621679067884"><span class="hs-identifier hs-var">s</span></a></span><span>
</span><span id="line-10"></span><span>
</span><span id="line-11"></span><span class="hs-keyword">class</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="../../base/src/GHC.Num.html#Num"><span class="hs-identifier hs-type">Num</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679067944"><span class="hs-identifier hs-type">t</span></a></span><span class="hs-special">,</span><span class="annot"><span class="hs-identifier hs-type">Ord</span></span><span> </span><span class="annot"><a href="#local-6989586621679067944"><span class="hs-identifier hs-type">t</span></a></span><span class="hs-special">,</span><span class="annot"><a href="../../base/src/GHC.Show.html#Show"><span class="hs-identifier hs-type">Show</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679067944"><span class="hs-identifier hs-type">t</span></a></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=&gt;</span><span> </span><span id="ShowPadded"><span class="annot"><a href="Data.Time.Calendar.Private.html#ShowPadded"><span class="hs-identifier hs-var">ShowPadded</span></a></span></span><span> </span><span id="local-6989586621679067944"><span class="annot"><a href="#local-6989586621679067944"><span class="hs-identifier hs-type">t</span></a></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-12"></span><span>    </span><span id="showPaddedNum"><span class="annot"><a href="Data.Time.Calendar.Private.html#showPaddedNum"><span class="hs-identifier hs-type">showPaddedNum</span></a></span></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="Data.Time.Calendar.Private.html#PadOption"><span class="hs-identifier hs-type">PadOption</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="#local-6989586621679067944"><span class="hs-identifier hs-type">t</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="../../base/src/GHC.Base.html#String"><span class="hs-identifier hs-type">String</span></a></span><span>
</span><span id="line-13"></span><span>
</span><span id="line-14"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="Data.Time.Calendar.Private.html#ShowPadded"><span class="hs-identifier hs-type">ShowPadded</span></a></span><span> </span><span class="annot"><span class="hs-identifier hs-type">Integer</span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-15"></span><span>    </span><span id="local-6989586621679067859"><span class="annot"><span class="annottext">showPaddedNum :: PadOption -&gt; Integer -&gt; String
</span><a href="#local-6989586621679067859"><span class="hs-identifier hs-var hs-var hs-var hs-var">showPaddedNum</span></a></span></span><span> </span><span class="annot"><span class="annottext">PadOption
</span><a href="Data.Time.Calendar.Private.html#NoPad"><span class="hs-identifier hs-var">NoPad</span></a></span><span> </span><span id="local-6989586621679067858"><span class="annot"><span class="annottext">Integer
</span><a href="#local-6989586621679067858"><span class="hs-identifier hs-var">i</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Integer -&gt; String
forall a. Show a =&gt; a -&gt; String
</span><a href="../../base/src/GHC.Show.html#show"><span class="hs-identifier hs-var">show</span></a></span><span> </span><span class="annot"><span class="annottext">Integer
</span><a href="#local-6989586621679067858"><span class="hs-identifier hs-var">i</span></a></span><span>
</span><span id="line-16"></span><span>    </span><span class="annot"><a href="Data.Time.Calendar.Private.html#showPaddedNum"><span class="hs-identifier hs-var">showPaddedNum</span></a></span><span> </span><span id="local-6989586621679067856"><span class="annot"><span class="annottext">PadOption
</span><a href="#local-6989586621679067856"><span class="hs-identifier hs-var">pad</span></a></span></span><span> </span><span id="local-6989586621679067855"><span class="annot"><span class="annottext">Integer
</span><a href="#local-6989586621679067855"><span class="hs-identifier hs-var">i</span></a></span></span><span> </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Integer
</span><a href="#local-6989586621679067855"><span class="hs-identifier hs-var">i</span></a></span><span> </span><span class="annot"><span class="annottext">Integer -&gt; Integer -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><span class="hs-operator hs-var">&lt;</span></span><span> </span><span class="annot"><span class="annottext">Integer
</span><span class="hs-number">0</span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Char
</span><span class="hs-char">'-'</span></span><span class="annot"><span class="annottext">Char -&gt; String -&gt; String
forall a. a -&gt; [a] -&gt; [a]
</span><span class="hs-glyph hs-var">:</span></span><span class="hs-special">(</span><span class="annot"><span class="annottext">PadOption -&gt; Integer -&gt; String
forall t. ShowPadded t =&gt; PadOption -&gt; t -&gt; String
</span><a href="Data.Time.Calendar.Private.html#showPaddedNum"><span class="hs-identifier hs-var">showPaddedNum</span></a></span><span> </span><span class="annot"><span class="annottext">PadOption
</span><a href="#local-6989586621679067856"><span class="hs-identifier hs-var">pad</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Integer -&gt; Integer
forall a. Num a =&gt; a -&gt; a
</span><a href="../../base/src/GHC.Num.html#negate"><span class="hs-identifier hs-var">negate</span></a></span><span> </span><span class="annot"><span class="annottext">Integer
</span><a href="#local-6989586621679067855"><span class="hs-identifier hs-var">i</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-17"></span><span>    </span><span class="annot"><a href="Data.Time.Calendar.Private.html#showPaddedNum"><span class="hs-identifier hs-var">showPaddedNum</span></a></span><span> </span><span id="local-6989586621679067853"><span class="annot"><span class="annottext">PadOption
</span><a href="#local-6989586621679067853"><span class="hs-identifier hs-var">pad</span></a></span></span><span> </span><span id="local-6989586621679067852"><span class="annot"><span class="annottext">Integer
</span><a href="#local-6989586621679067852"><span class="hs-identifier hs-var">i</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">PadOption -&gt; String -&gt; String
</span><a href="Data.Time.Calendar.Private.html#showPadded"><span class="hs-identifier hs-var">showPadded</span></a></span><span> </span><span class="annot"><span class="annottext">PadOption
</span><a href="#local-6989586621679067853"><span class="hs-identifier hs-var">pad</span></a></span><span> </span><span class="annot"><span class="annottext">(String -&gt; String) -&gt; String -&gt; String
forall a b. (a -&gt; b) -&gt; a -&gt; b
</span><a href="../../base/src/GHC.Base.html#%24"><span class="hs-operator hs-var">$</span></a></span><span> </span><span class="annot"><span class="annottext">Integer -&gt; String
forall a. Show a =&gt; a -&gt; String
</span><a href="../../base/src/GHC.Show.html#show"><span class="hs-identifier hs-var">show</span></a></span><span> </span><span class="annot"><span class="annottext">Integer
</span><a href="#local-6989586621679067852"><span class="hs-identifier hs-var">i</span></a></span><span>
</span><span id="line-18"></span><span>
</span><span id="line-19"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="Data.Time.Calendar.Private.html#ShowPadded"><span class="hs-identifier hs-type">ShowPadded</span></a></span><span> </span><span class="annot"><span class="hs-identifier hs-type">Int</span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-20"></span><span>    </span><span id="local-6989586621679067830"><span class="annot"><span class="annottext">showPaddedNum :: PadOption -&gt; Int -&gt; String
</span><a href="#local-6989586621679067830"><span class="hs-identifier hs-var hs-var hs-var hs-var">showPaddedNum</span></a></span></span><span> </span><span class="annot"><span class="annottext">PadOption
</span><a href="Data.Time.Calendar.Private.html#NoPad"><span class="hs-identifier hs-var">NoPad</span></a></span><span> </span><span id="local-6989586621679067829"><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679067829"><span class="hs-identifier hs-var">i</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int -&gt; String
forall a. Show a =&gt; a -&gt; String
</span><a href="../../base/src/GHC.Show.html#show"><span class="hs-identifier hs-var">show</span></a></span><span> </span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679067829"><span class="hs-identifier hs-var">i</span></a></span><span>
</span><span id="line-21"></span><span>    </span><span class="annot"><a href="Data.Time.Calendar.Private.html#showPaddedNum"><span class="hs-identifier hs-var">showPaddedNum</span></a></span><span> </span><span id="local-6989586621679067828"><span class="annot"><span class="annottext">PadOption
</span><a href="#local-6989586621679067828"><span class="hs-identifier hs-var">_pad</span></a></span></span><span> </span><span id="local-6989586621679067827"><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679067827"><span class="hs-identifier hs-var">i</span></a></span></span><span> </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679067827"><span class="hs-identifier hs-var">i</span></a></span><span> </span><span class="annot"><span class="annottext">Int -&gt; Int -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><span class="hs-operator hs-var">==</span></span><span> </span><span class="annot"><span class="annottext">Int
forall a. Bounded a =&gt; a
</span><a href="../../base/src/GHC.Enum.html#minBound"><span class="hs-identifier hs-var">minBound</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int -&gt; String
forall a. Show a =&gt; a -&gt; String
</span><a href="../../base/src/GHC.Show.html#show"><span class="hs-identifier hs-var">show</span></a></span><span> </span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679067827"><span class="hs-identifier hs-var">i</span></a></span><span>
</span><span id="line-22"></span><span>    </span><span class="annot"><a href="Data.Time.Calendar.Private.html#showPaddedNum"><span class="hs-identifier hs-var">showPaddedNum</span></a></span><span> </span><span id="local-6989586621679067825"><span class="annot"><span class="annottext">PadOption
</span><a href="#local-6989586621679067825"><span class="hs-identifier hs-var">pad</span></a></span></span><span> </span><span id="local-6989586621679067824"><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679067824"><span class="hs-identifier hs-var">i</span></a></span></span><span> </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679067824"><span class="hs-identifier hs-var">i</span></a></span><span> </span><span class="annot"><span class="annottext">Int -&gt; Int -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><span class="hs-operator hs-var">&lt;</span></span><span> </span><span class="annot"><span class="annottext">Int
</span><span class="hs-number">0</span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Char
</span><span class="hs-char">'-'</span></span><span class="annot"><span class="annottext">Char -&gt; String -&gt; String
forall a. a -&gt; [a] -&gt; [a]
</span><span class="hs-glyph hs-var">:</span></span><span class="hs-special">(</span><span class="annot"><span class="annottext">PadOption -&gt; Int -&gt; String
forall t. ShowPadded t =&gt; PadOption -&gt; t -&gt; String
</span><a href="Data.Time.Calendar.Private.html#showPaddedNum"><span class="hs-identifier hs-var">showPaddedNum</span></a></span><span> </span><span class="annot"><span class="annottext">PadOption
</span><a href="#local-6989586621679067825"><span class="hs-identifier hs-var">pad</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int -&gt; Int
forall a. Num a =&gt; a -&gt; a
</span><a href="../../base/src/GHC.Num.html#negate"><span class="hs-identifier hs-var">negate</span></a></span><span> </span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679067824"><span class="hs-identifier hs-var">i</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-23"></span><span>    </span><span class="annot"><a href="Data.Time.Calendar.Private.html#showPaddedNum"><span class="hs-identifier hs-var">showPaddedNum</span></a></span><span> </span><span id="local-6989586621679067823"><span class="annot"><span class="annottext">PadOption
</span><a href="#local-6989586621679067823"><span class="hs-identifier hs-var">pad</span></a></span></span><span> </span><span id="local-6989586621679067822"><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679067822"><span class="hs-identifier hs-var">i</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">PadOption -&gt; String -&gt; String
</span><a href="Data.Time.Calendar.Private.html#showPadded"><span class="hs-identifier hs-var">showPadded</span></a></span><span> </span><span class="annot"><span class="annottext">PadOption
</span><a href="#local-6989586621679067823"><span class="hs-identifier hs-var">pad</span></a></span><span> </span><span class="annot"><span class="annottext">(String -&gt; String) -&gt; String -&gt; String
forall a b. (a -&gt; b) -&gt; a -&gt; b
</span><a href="../../base/src/GHC.Base.html#%24"><span class="hs-operator hs-var">$</span></a></span><span> </span><span class="annot"><span class="annottext">Int -&gt; String
forall a. Show a =&gt; a -&gt; String
</span><a href="../../base/src/GHC.Show.html#show"><span class="hs-identifier hs-var">show</span></a></span><span> </span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679067822"><span class="hs-identifier hs-var">i</span></a></span><span>
</span><span id="line-24"></span><span>
</span><span id="line-25"></span><span class="annot"><a href="Data.Time.Calendar.Private.html#show2Fixed"><span class="hs-identifier hs-type">show2Fixed</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../base/src/Data.Fixed.html#Pico"><span class="hs-identifier hs-type">Pico</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="../../base/src/GHC.Base.html#String"><span class="hs-identifier hs-type">String</span></a></span><span>
</span><span id="line-26"></span><span id="show2Fixed"><span class="annot"><span class="annottext">show2Fixed :: Pico -&gt; String
</span><a href="Data.Time.Calendar.Private.html#show2Fixed"><span class="hs-identifier hs-var hs-var">show2Fixed</span></a></span></span><span> </span><span id="local-6989586621679067820"><span class="annot"><span class="annottext">Pico
</span><a href="#local-6989586621679067820"><span class="hs-identifier hs-var">x</span></a></span></span><span> </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Pico
</span><a href="#local-6989586621679067820"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">Pico -&gt; Pico -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><span class="hs-operator hs-var">&lt;</span></span><span> </span><span class="annot"><span class="annottext">Pico
</span><span class="hs-number">10</span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Char
</span><span class="hs-char">'0'</span></span><span class="annot"><span class="annottext">Char -&gt; String -&gt; String
forall a. a -&gt; [a] -&gt; [a]
</span><span class="hs-glyph hs-var">:</span></span><span class="hs-special">(</span><span class="annot"><span class="annottext">Bool -&gt; Pico -&gt; String
forall {k} (a :: k). HasResolution a =&gt; Bool -&gt; Fixed a -&gt; String
</span><a href="../../base/src/Data.Fixed.html#showFixed"><span class="hs-identifier hs-var">showFixed</span></a></span><span> </span><span class="annot"><span class="annottext">Bool
</span><span class="hs-identifier hs-var">True</span></span><span> </span><span class="annot"><span class="annottext">Pico
</span><a href="#local-6989586621679067820"><span class="hs-identifier hs-var">x</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-27"></span><span class="annot"><a href="Data.Time.Calendar.Private.html#show2Fixed"><span class="hs-identifier hs-var">show2Fixed</span></a></span><span> </span><span id="local-6989586621679067818"><span class="annot"><span class="annottext">Pico
</span><a href="#local-6989586621679067818"><span class="hs-identifier hs-var">x</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Bool -&gt; Pico -&gt; String
forall {k} (a :: k). HasResolution a =&gt; Bool -&gt; Fixed a -&gt; String
</span><a href="../../base/src/Data.Fixed.html#showFixed"><span class="hs-identifier hs-var">showFixed</span></a></span><span> </span><span class="annot"><span class="annottext">Bool
</span><span class="hs-identifier hs-var">True</span></span><span> </span><span class="annot"><span class="annottext">Pico
</span><a href="#local-6989586621679067818"><span class="hs-identifier hs-var">x</span></a></span><span>
</span><span id="line-28"></span><span>
</span><span id="line-29"></span><span id="local-6989586621679067932"><span class="annot"><a href="Data.Time.Calendar.Private.html#show2"><span class="hs-identifier hs-type">show2</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="Data.Time.Calendar.Private.html#ShowPadded"><span class="hs-identifier hs-type">ShowPadded</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679067932"><span class="hs-identifier hs-type">t</span></a></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="#local-6989586621679067932"><span class="hs-identifier hs-type">t</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="../../base/src/GHC.Base.html#String"><span class="hs-identifier hs-type">String</span></a></span></span><span>
</span><span id="line-30"></span><span id="show2"><span class="annot"><span class="annottext">show2 :: forall t. ShowPadded t =&gt; t -&gt; String
</span><a href="Data.Time.Calendar.Private.html#show2"><span class="hs-identifier hs-var hs-var">show2</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">PadOption -&gt; t -&gt; String
forall t. ShowPadded t =&gt; PadOption -&gt; t -&gt; String
</span><a href="Data.Time.Calendar.Private.html#showPaddedNum"><span class="hs-identifier hs-var">showPaddedNum</span></a></span><span> </span><span class="annot"><span class="annottext">(PadOption -&gt; t -&gt; String) -&gt; PadOption -&gt; t -&gt; String
forall a b. (a -&gt; b) -&gt; a -&gt; b
</span><a href="../../base/src/GHC.Base.html#%24"><span class="hs-operator hs-var">$</span></a></span><span> </span><span class="annot"><span class="annottext">Int -&gt; Char -&gt; PadOption
</span><a href="Data.Time.Calendar.Private.html#Pad"><span class="hs-identifier hs-var">Pad</span></a></span><span> </span><span class="annot"><span class="annottext">Int
</span><span class="hs-number">2</span></span><span> </span><span class="annot"><span class="annottext">Char
</span><span class="hs-char">'0'</span></span><span>
</span><span id="line-31"></span><span>
</span><span id="line-32"></span><span id="local-6989586621679067814"><span class="annot"><a href="Data.Time.Calendar.Private.html#show3"><span class="hs-identifier hs-type">show3</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="Data.Time.Calendar.Private.html#ShowPadded"><span class="hs-identifier hs-type">ShowPadded</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679067814"><span class="hs-identifier hs-type">t</span></a></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="#local-6989586621679067814"><span class="hs-identifier hs-type">t</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="../../base/src/GHC.Base.html#String"><span class="hs-identifier hs-type">String</span></a></span></span><span>
</span><span id="line-33"></span><span id="show3"><span class="annot"><span class="annottext">show3 :: forall t. ShowPadded t =&gt; t -&gt; String
</span><a href="Data.Time.Calendar.Private.html#show3"><span class="hs-identifier hs-var hs-var">show3</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">PadOption -&gt; t -&gt; String
forall t. ShowPadded t =&gt; PadOption -&gt; t -&gt; String
</span><a href="Data.Time.Calendar.Private.html#showPaddedNum"><span class="hs-identifier hs-var">showPaddedNum</span></a></span><span> </span><span class="annot"><span class="annottext">(PadOption -&gt; t -&gt; String) -&gt; PadOption -&gt; t -&gt; String
forall a b. (a -&gt; b) -&gt; a -&gt; b
</span><a href="../../base/src/GHC.Base.html#%24"><span class="hs-operator hs-var">$</span></a></span><span> </span><span class="annot"><span class="annottext">Int -&gt; Char -&gt; PadOption
</span><a href="Data.Time.Calendar.Private.html#Pad"><span class="hs-identifier hs-var">Pad</span></a></span><span> </span><span class="annot"><span class="annottext">Int
</span><span class="hs-number">3</span></span><span> </span><span class="annot"><span class="annottext">Char
</span><span class="hs-char">'0'</span></span><span>
</span><span id="line-34"></span><span>
</span><span id="line-35"></span><span id="local-6989586621679067810"><span class="annot"><a href="Data.Time.Calendar.Private.html#show4"><span class="hs-identifier hs-type">show4</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="Data.Time.Calendar.Private.html#ShowPadded"><span class="hs-identifier hs-type">ShowPadded</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679067810"><span class="hs-identifier hs-type">t</span></a></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="#local-6989586621679067810"><span class="hs-identifier hs-type">t</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="../../base/src/GHC.Base.html#String"><span class="hs-identifier hs-type">String</span></a></span></span><span>
</span><span id="line-36"></span><span id="show4"><span class="annot"><span class="annottext">show4 :: forall t. ShowPadded t =&gt; t -&gt; String
</span><a href="Data.Time.Calendar.Private.html#show4"><span class="hs-identifier hs-var hs-var">show4</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">PadOption -&gt; t -&gt; String
forall t. ShowPadded t =&gt; PadOption -&gt; t -&gt; String
</span><a href="Data.Time.Calendar.Private.html#showPaddedNum"><span class="hs-identifier hs-var">showPaddedNum</span></a></span><span> </span><span class="annot"><span class="annottext">(PadOption -&gt; t -&gt; String) -&gt; PadOption -&gt; t -&gt; String
forall a b. (a -&gt; b) -&gt; a -&gt; b
</span><a href="../../base/src/GHC.Base.html#%24"><span class="hs-operator hs-var">$</span></a></span><span> </span><span class="annot"><span class="annottext">Int -&gt; Char -&gt; PadOption
</span><a href="Data.Time.Calendar.Private.html#Pad"><span class="hs-identifier hs-var">Pad</span></a></span><span> </span><span class="annot"><span class="annottext">Int
</span><span class="hs-number">4</span></span><span> </span><span class="annot"><span class="annottext">Char
</span><span class="hs-char">'0'</span></span><span>
</span><span id="line-37"></span><span>
</span><span id="line-38"></span><span id="local-6989586621679067928"><span class="annot"><a href="Data.Time.Calendar.Private.html#mod100"><span class="hs-identifier hs-type">mod100</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="../../base/src/GHC.Real.html#Integral"><span class="hs-identifier hs-type">Integral</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679067928"><span class="hs-identifier hs-type">i</span></a></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="#local-6989586621679067928"><span class="hs-identifier hs-type">i</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="#local-6989586621679067928"><span class="hs-identifier hs-type">i</span></a></span></span><span>
</span><span id="line-39"></span><span id="mod100"><span class="annot"><span class="annottext">mod100 :: forall i. Integral i =&gt; i -&gt; i
</span><a href="Data.Time.Calendar.Private.html#mod100"><span class="hs-identifier hs-var hs-var">mod100</span></a></span></span><span> </span><span id="local-6989586621679067798"><span class="annot"><span class="annottext">i
</span><a href="#local-6989586621679067798"><span class="hs-identifier hs-var">x</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">i -&gt; i -&gt; i
forall a. Integral a =&gt; a -&gt; a -&gt; a
</span><a href="../../base/src/GHC.Real.html#mod"><span class="hs-identifier hs-var">mod</span></a></span><span> </span><span class="annot"><span class="annottext">i
</span><a href="#local-6989586621679067798"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">i
</span><span class="hs-number">100</span></span><span>
</span><span id="line-40"></span><span>
</span><span id="line-41"></span><span id="local-6989586621679067796"><span class="annot"><a href="Data.Time.Calendar.Private.html#div100"><span class="hs-identifier hs-type">div100</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="../../base/src/GHC.Real.html#Integral"><span class="hs-identifier hs-type">Integral</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679067796"><span class="hs-identifier hs-type">i</span></a></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="#local-6989586621679067796"><span class="hs-identifier hs-type">i</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="#local-6989586621679067796"><span class="hs-identifier hs-type">i</span></a></span></span><span>
</span><span id="line-42"></span><span id="div100"><span class="annot"><span class="annottext">div100 :: forall i. Integral i =&gt; i -&gt; i
</span><a href="Data.Time.Calendar.Private.html#div100"><span class="hs-identifier hs-var hs-var">div100</span></a></span></span><span> </span><span id="local-6989586621679067789"><span class="annot"><span class="annottext">i
</span><a href="#local-6989586621679067789"><span class="hs-identifier hs-var">x</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">i -&gt; i -&gt; i
forall a. Integral a =&gt; a -&gt; a -&gt; a
</span><a href="../../base/src/GHC.Real.html#div"><span class="hs-identifier hs-var">div</span></a></span><span> </span><span class="annot"><span class="annottext">i
</span><a href="#local-6989586621679067789"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">i
</span><span class="hs-number">100</span></span><span>
</span><span id="line-43"></span><span>
</span><span id="line-44"></span><span id="local-6989586621679067923"><span class="annot"><a href="Data.Time.Calendar.Private.html#clip"><span class="hs-identifier hs-type">clip</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">(</span><span class="annot"><span class="hs-identifier hs-type">Ord</span></span><span> </span><span class="annot"><a href="#local-6989586621679067923"><span class="hs-identifier hs-type">t</span></a></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="#local-6989586621679067923"><span class="hs-identifier hs-type">t</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="#local-6989586621679067923"><span class="hs-identifier hs-type">t</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="#local-6989586621679067923"><span class="hs-identifier hs-type">t</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="#local-6989586621679067923"><span class="hs-identifier hs-type">t</span></a></span></span><span>
</span><span id="line-45"></span><span id="clip"><span class="annot"><span class="annottext">clip :: forall t. Ord t =&gt; t -&gt; t -&gt; t -&gt; t
</span><a href="Data.Time.Calendar.Private.html#clip"><span class="hs-identifier hs-var hs-var">clip</span></a></span></span><span> </span><span id="local-6989586621679067783"><span class="annot"><span class="annottext">t
</span><a href="#local-6989586621679067783"><span class="hs-identifier hs-var">a</span></a></span></span><span> </span><span class="annot"><span class="annottext">t
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621679067782"><span class="annot"><span class="annottext">t
</span><a href="#local-6989586621679067782"><span class="hs-identifier hs-var">x</span></a></span></span><span> </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">t
</span><a href="#local-6989586621679067782"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">t -&gt; t -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><span class="hs-operator hs-var">&lt;</span></span><span> </span><span class="annot"><span class="annottext">t
</span><a href="#local-6989586621679067783"><span class="hs-identifier hs-var">a</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">t
</span><a href="#local-6989586621679067783"><span class="hs-identifier hs-var">a</span></a></span><span>
</span><span id="line-46"></span><span class="annot"><a href="Data.Time.Calendar.Private.html#clip"><span class="hs-identifier hs-var">clip</span></a></span><span> </span><span class="annot"><span class="annottext">t
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621679067781"><span class="annot"><span class="annottext">t
</span><a href="#local-6989586621679067781"><span class="hs-identifier hs-var">b</span></a></span></span><span> </span><span id="local-6989586621679067780"><span class="annot"><span class="annottext">t
</span><a href="#local-6989586621679067780"><span class="hs-identifier hs-var">x</span></a></span></span><span> </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">t
</span><a href="#local-6989586621679067780"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">t -&gt; t -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><span class="hs-operator hs-var">&gt;</span></span><span> </span><span class="annot"><span class="annottext">t
</span><a href="#local-6989586621679067781"><span class="hs-identifier hs-var">b</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">t
</span><a href="#local-6989586621679067781"><span class="hs-identifier hs-var">b</span></a></span><span>
</span><span id="line-47"></span><span class="annot"><a href="Data.Time.Calendar.Private.html#clip"><span class="hs-identifier hs-var">clip</span></a></span><span> </span><span class="annot"><span class="annottext">t
</span><span class="hs-identifier">_</span></span><span> </span><span class="annot"><span class="annottext">t
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621679067778"><span class="annot"><span class="annottext">t
</span><a href="#local-6989586621679067778"><span class="hs-identifier hs-var">x</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">t
</span><a href="#local-6989586621679067778"><span class="hs-identifier hs-var">x</span></a></span><span>
</span><span id="line-48"></span><span>
</span><span id="line-49"></span><span id="local-6989586621679067921"><span class="annot"><a href="Data.Time.Calendar.Private.html#clipValid"><span class="hs-identifier hs-type">clipValid</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">(</span><span class="annot"><span class="hs-identifier hs-type">Ord</span></span><span> </span><span class="annot"><a href="#local-6989586621679067921"><span class="hs-identifier hs-type">t</span></a></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="#local-6989586621679067921"><span class="hs-identifier hs-type">t</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="#local-6989586621679067921"><span class="hs-identifier hs-type">t</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="#local-6989586621679067921"><span class="hs-identifier hs-type">t</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="../../base/src/GHC.Maybe.html#Maybe"><span class="hs-identifier hs-type">Maybe</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679067921"><span class="hs-identifier hs-type">t</span></a></span></span><span>
</span><span id="line-50"></span><span id="clipValid"><span class="annot"><span class="annottext">clipValid :: forall t. Ord t =&gt; t -&gt; t -&gt; t -&gt; Maybe t
</span><a href="Data.Time.Calendar.Private.html#clipValid"><span class="hs-identifier hs-var hs-var">clipValid</span></a></span></span><span> </span><span id="local-6989586621679067773"><span class="annot"><span class="annottext">t
</span><a href="#local-6989586621679067773"><span class="hs-identifier hs-var">a</span></a></span></span><span> </span><span class="annot"><span class="annottext">t
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621679067772"><span class="annot"><span class="annottext">t
</span><a href="#local-6989586621679067772"><span class="hs-identifier hs-var">x</span></a></span></span><span> </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">t
</span><a href="#local-6989586621679067772"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">t -&gt; t -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><span class="hs-operator hs-var">&lt;</span></span><span> </span><span class="annot"><span class="annottext">t
</span><a href="#local-6989586621679067773"><span class="hs-identifier hs-var">a</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Maybe t
forall a. Maybe a
</span><a href="../../base/src/GHC.Maybe.html#Nothing"><span class="hs-identifier hs-var">Nothing</span></a></span><span>
</span><span id="line-51"></span><span class="annot"><a href="Data.Time.Calendar.Private.html#clipValid"><span class="hs-identifier hs-var">clipValid</span></a></span><span> </span><span class="annot"><span class="annottext">t
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621679067771"><span class="annot"><span class="annottext">t
</span><a href="#local-6989586621679067771"><span class="hs-identifier hs-var">b</span></a></span></span><span> </span><span id="local-6989586621679067770"><span class="annot"><span class="annottext">t
</span><a href="#local-6989586621679067770"><span class="hs-identifier hs-var">x</span></a></span></span><span> </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">t
</span><a href="#local-6989586621679067770"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">t -&gt; t -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><span class="hs-operator hs-var">&gt;</span></span><span> </span><span class="annot"><span class="annottext">t
</span><a href="#local-6989586621679067771"><span class="hs-identifier hs-var">b</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Maybe t
forall a. Maybe a
</span><a href="../../base/src/GHC.Maybe.html#Nothing"><span class="hs-identifier hs-var">Nothing</span></a></span><span>
</span><span id="line-52"></span><span class="annot"><a href="Data.Time.Calendar.Private.html#clipValid"><span class="hs-identifier hs-var">clipValid</span></a></span><span> </span><span class="annot"><span class="annottext">t
</span><span class="hs-identifier">_</span></span><span> </span><span class="annot"><span class="annottext">t
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621679067769"><span class="annot"><span class="annottext">t
</span><a href="#local-6989586621679067769"><span class="hs-identifier hs-var">x</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">t -&gt; Maybe t
forall a. a -&gt; Maybe a
</span><a href="../../base/src/GHC.Maybe.html#Just"><span class="hs-identifier hs-var">Just</span></a></span><span> </span><span class="annot"><span class="annottext">t
</span><a href="#local-6989586621679067769"><span class="hs-identifier hs-var">x</span></a></span><span>
</span><span id="line-53"></span><span>
</span><span id="line-54"></span><span id="local-6989586621679067918"><span id="local-6989586621679067919"><span class="annot"><a href="Data.Time.Calendar.Private.html#quotBy"><span class="hs-identifier hs-type">quotBy</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="../../base/src/GHC.Real.html#Real"><span class="hs-identifier hs-type">Real</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679067919"><span class="hs-identifier hs-type">a</span></a></span><span class="hs-special">,</span><span class="annot"><a href="../../base/src/GHC.Real.html#Integral"><span class="hs-identifier hs-type">Integral</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679067918"><span class="hs-identifier hs-type">b</span></a></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="#local-6989586621679067919"><span class="hs-identifier hs-type">a</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="#local-6989586621679067919"><span class="hs-identifier hs-type">a</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="#local-6989586621679067918"><span class="hs-identifier hs-type">b</span></a></span></span></span><span>
</span><span id="line-55"></span><span id="quotBy"><span class="annot"><span class="annottext">quotBy :: forall a b. (Real a, Integral b) =&gt; a -&gt; a -&gt; b
</span><a href="Data.Time.Calendar.Private.html#quotBy"><span class="hs-identifier hs-var hs-var">quotBy</span></a></span></span><span> </span><span id="local-6989586621679067756"><span class="annot"><span class="annottext">a
</span><a href="#local-6989586621679067756"><span class="hs-identifier hs-var">d</span></a></span></span><span> </span><span id="local-6989586621679067755"><span class="annot"><span class="annottext">a
</span><a href="#local-6989586621679067755"><span class="hs-identifier hs-var">n</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Rational -&gt; b
forall a b. (RealFrac a, Integral b) =&gt; a -&gt; b
</span><a href="../../base/src/GHC.Real.html#truncate"><span class="hs-identifier hs-var">truncate</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-special">(</span><span class="annot"><span class="annottext">a -&gt; Rational
forall a. Real a =&gt; a -&gt; Rational
</span><a href="../../base/src/GHC.Real.html#toRational"><span class="hs-identifier hs-var">toRational</span></a></span><span> </span><span class="annot"><span class="annottext">a
</span><a href="#local-6989586621679067755"><span class="hs-identifier hs-var">n</span></a></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Rational -&gt; Rational -&gt; Rational
forall a. Fractional a =&gt; a -&gt; a -&gt; a
</span><a href="../../base/src/GHC.Real.html#%2F"><span class="hs-operator hs-var">/</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">a -&gt; Rational
forall a. Real a =&gt; a -&gt; Rational
</span><a href="../../base/src/GHC.Real.html#toRational"><span class="hs-identifier hs-var">toRational</span></a></span><span> </span><span class="annot"><span class="annottext">a
</span><a href="#local-6989586621679067756"><span class="hs-identifier hs-var">d</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-56"></span><span>
</span><span id="line-57"></span><span id="local-6989586621679067910"><span class="annot"><a href="Data.Time.Calendar.Private.html#remBy"><span class="hs-identifier hs-type">remBy</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../base/src/GHC.Real.html#Real"><span class="hs-identifier hs-type">Real</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679067910"><span class="hs-identifier hs-type">a</span></a></span><span> </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="#local-6989586621679067910"><span class="hs-identifier hs-type">a</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="#local-6989586621679067910"><span class="hs-identifier hs-type">a</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="#local-6989586621679067910"><span class="hs-identifier hs-type">a</span></a></span></span><span>
</span><span id="line-58"></span><span id="remBy"><span class="annot"><span class="annottext">remBy :: forall a. Real a =&gt; a -&gt; a -&gt; a
</span><a href="Data.Time.Calendar.Private.html#remBy"><span class="hs-identifier hs-var hs-var">remBy</span></a></span></span><span> </span><span id="local-6989586621679067746"><span class="annot"><span class="annottext">a
</span><a href="#local-6989586621679067746"><span class="hs-identifier hs-var">d</span></a></span></span><span> </span><span id="local-6989586621679067745"><span class="annot"><span class="annottext">a
</span><a href="#local-6989586621679067745"><span class="hs-identifier hs-var">n</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">a
</span><a href="#local-6989586621679067745"><span class="hs-identifier hs-var">n</span></a></span><span> </span><span class="annot"><span class="annottext">a -&gt; a -&gt; a
forall a. Num a =&gt; a -&gt; a -&gt; a
</span><a href="../../base/src/GHC.Num.html#-"><span class="hs-glyph hs-var">-</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Integer -&gt; a
forall a. Num a =&gt; Integer -&gt; a
</span><a href="../../base/src/GHC.Num.html#fromInteger"><span class="hs-identifier hs-var">fromInteger</span></a></span><span> </span><span class="annot"><span class="annottext">Integer
</span><a href="#local-6989586621679067744"><span class="hs-identifier hs-var">f</span></a></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">a -&gt; a -&gt; a
forall a. Num a =&gt; a -&gt; a -&gt; a
</span><a href="../../base/src/GHC.Num.html#%2A"><span class="hs-operator hs-var">*</span></a></span><span> </span><span class="annot"><span class="annottext">a
</span><a href="#local-6989586621679067746"><span class="hs-identifier hs-var">d</span></a></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-59"></span><span>    </span><span id="local-6989586621679067744"><span class="annot"><span class="annottext">f :: Integer
</span><a href="#local-6989586621679067744"><span class="hs-identifier hs-var hs-var">f</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">a -&gt; a -&gt; Integer
forall a b. (Real a, Integral b) =&gt; a -&gt; a -&gt; b
</span><a href="Data.Time.Calendar.Private.html#quotBy"><span class="hs-identifier hs-var">quotBy</span></a></span><span> </span><span class="annot"><span class="annottext">a
</span><a href="#local-6989586621679067746"><span class="hs-identifier hs-var">d</span></a></span><span> </span><span class="annot"><span class="annottext">a
</span><a href="#local-6989586621679067745"><span class="hs-identifier hs-var">n</span></a></span><span>
</span><span id="line-60"></span><span>
</span><span id="line-61"></span><span id="local-6989586621679067907"><span id="local-6989586621679067908"><span class="annot"><a href="Data.Time.Calendar.Private.html#quotRemBy"><span class="hs-identifier hs-type">quotRemBy</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="../../base/src/GHC.Real.html#Real"><span class="hs-identifier hs-type">Real</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679067908"><span class="hs-identifier hs-type">a</span></a></span><span class="hs-special">,</span><span class="annot"><a href="../../base/src/GHC.Real.html#Integral"><span class="hs-identifier hs-type">Integral</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679067907"><span class="hs-identifier hs-type">b</span></a></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="#local-6989586621679067908"><span class="hs-identifier hs-type">a</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="#local-6989586621679067908"><span class="hs-identifier hs-type">a</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="#local-6989586621679067907"><span class="hs-identifier hs-type">b</span></a></span><span class="hs-special">,</span><span class="annot"><a href="#local-6989586621679067908"><span class="hs-identifier hs-type">a</span></a></span><span class="hs-special">)</span></span></span><span>
</span><span id="line-62"></span><span id="quotRemBy"><span class="annot"><span class="annottext">quotRemBy :: forall a b. (Real a, Integral b) =&gt; a -&gt; a -&gt; (b, a)
</span><a href="Data.Time.Calendar.Private.html#quotRemBy"><span class="hs-identifier hs-var hs-var">quotRemBy</span></a></span></span><span> </span><span id="local-6989586621679067732"><span class="annot"><span class="annottext">a
</span><a href="#local-6989586621679067732"><span class="hs-identifier hs-var">d</span></a></span></span><span> </span><span id="local-6989586621679067731"><span class="annot"><span class="annottext">a
</span><a href="#local-6989586621679067731"><span class="hs-identifier hs-var">n</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-keyword">let</span><span>
</span><span id="line-63"></span><span>    </span><span id="local-6989586621679067728"><span class="annot"><span class="annottext">f :: b
</span><a href="#local-6989586621679067728"><span class="hs-identifier hs-var hs-var">f</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">a -&gt; a -&gt; b
forall a b. (Real a, Integral b) =&gt; a -&gt; a -&gt; b
</span><a href="Data.Time.Calendar.Private.html#quotBy"><span class="hs-identifier hs-var">quotBy</span></a></span><span> </span><span class="annot"><span class="annottext">a
</span><a href="#local-6989586621679067732"><span class="hs-identifier hs-var">d</span></a></span><span> </span><span class="annot"><span class="annottext">a
</span><a href="#local-6989586621679067731"><span class="hs-identifier hs-var">n</span></a></span><span>
</span><span id="line-64"></span><span>    </span><span class="hs-keyword">in</span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">b
</span><a href="#local-6989586621679067728"><span class="hs-identifier hs-var">f</span></a></span><span class="hs-special">,</span><span class="annot"><span class="annottext">a
</span><a href="#local-6989586621679067731"><span class="hs-identifier hs-var">n</span></a></span><span> </span><span class="annot"><span class="annottext">a -&gt; a -&gt; a
forall a. Num a =&gt; a -&gt; a -&gt; a
</span><a href="../../base/src/GHC.Num.html#-"><span class="hs-glyph hs-var">-</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">b -&gt; a
forall a b. (Integral a, Num b) =&gt; a -&gt; b
</span><a href="../../base/src/GHC.Real.html#fromIntegral"><span class="hs-identifier hs-var">fromIntegral</span></a></span><span> </span><span class="annot"><span class="annottext">b
</span><a href="#local-6989586621679067728"><span class="hs-identifier hs-var">f</span></a></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">a -&gt; a -&gt; a
forall a. Num a =&gt; a -&gt; a -&gt; a
</span><a href="../../base/src/GHC.Num.html#%2A"><span class="hs-operator hs-var">*</span></a></span><span> </span><span class="annot"><span class="annottext">a
</span><a href="#local-6989586621679067732"><span class="hs-identifier hs-var">d</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-65"></span></pre></body></html>